package com.hunau.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hunau.common.annotation.Excel;
import com.hunau.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 环境数据采集对象 tb_environment
 * 
 * @author ruoyi
 * @date 2020-03-17
 */
public class TbEnvironment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;
    /**地址**/
    private Integer addr;
    /** 终端编号 */
    @Excel(name = "终端编号")
    private String imei;

    /** 环境温度 */
    @Excel(name = "环境温度")
    private Double ambientTemp;

    /** 环境湿度 */
    @Excel(name = "环境湿度")
    private Double ambientHum;

    /** 环境照度 */
    @Excel(name = "环境照度")
    private Double ambientLight;

    /** 土壤温度 */
    @Excel(name = "土壤温度")
    private Double soilTemp;

    /** 土壤湿度 */
    @Excel(name = "土壤湿度")
    private Double soilHum;

    /** 大气压力 */
    @Excel(name = "大气压力")
    private Double atmoPressure;

    /** 风速 */
    @Excel(name = "风速")
    private Double windSpeed;

    /** 风向 */
    @Excel(name = "风向")
    private String windDirection;

    /** 雨雪 */
    @Excel(name = "雨雪")
    private String snowRain;

    /** pm2.5 */
    @Excel(name = "pm2.5")
    private Double pm25;

    /** 二氧化碳 */
    @Excel(name = "二氧化碳")
    private Double co2;

    /** 一氧化碳 */
    @Excel(name = "一氧化碳")
    private Double co;

    /** 二氧化硫 */
    @Excel(name = "二氧化硫")
    private Double so2;

    /** 采集时间 */
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date colltime;
    private String beginColltime;
    private String endColltime;

    public String getBeginColltime() {
        return beginColltime;
    }

    public void setBeginColltime(String beginColltime) {
        this.beginColltime = beginColltime;
    }

    public String getEndColltime() {
        return endColltime;
    }

    public void setEndColltime(String endColltime) {
        this.endColltime = endColltime;
    }

    public Integer getAddr() {
        return addr;
    }

    public void setAddr(Integer addr) {
        this.addr = addr;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImei(String imei) 
    {
        this.imei = imei;
    }

    public String getImei() 
    {
        return imei;
    }
    public void setAmbientTemp(Double ambientTemp)
    {
        this.ambientTemp = ambientTemp;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Double getAmbientTemp() {
        return ambientTemp;
    }

    public Double getAmbientHum() {
        return ambientHum;
    }

    public void setAmbientHum(Double ambientHum) {
        this.ambientHum = ambientHum;
    }

    public Double getAmbientLight() {
        return ambientLight;
    }

    public void setAmbientLight(Double ambientLight) {
        this.ambientLight = ambientLight;
    }

    public Double getSoilTemp() {
        return soilTemp;
    }

    public void setSoilTemp(Double soilTemp) {
        this.soilTemp = soilTemp;
    }

    public Double getSoilHum() {
        return soilHum;
    }

    public void setSoilHum(Double soilHum) {
        this.soilHum = soilHum;
    }

    public Double getAtmoPressure() {
        return atmoPressure;
    }

    public void setAtmoPressure(Double atmoPressure) {
        this.atmoPressure = atmoPressure;
    }

    public Double getWindSpeed() {
        return windSpeed;
    }

    public void setWindSpeed(Double windSpeed) {
        this.windSpeed = windSpeed;
    }

    public String getWindDirection() {
        return windDirection;
    }

    public void setWindDirection(String windDirection) {
        this.windDirection = windDirection;
    }

    public String getSnowRain() {
        return snowRain;
    }

    public void setSnowRain(String snowRain) {
        this.snowRain = snowRain;
    }

    public Double getPm25() {
        return pm25;
    }

    public void setPm25(Double pm25) {
        this.pm25 = pm25;
    }

    public Double getCo2() {
        return co2;
    }

    public void setCo2(Double co2) {
        this.co2 = co2;
    }

    public Double getCo() {
        return co;
    }

    public void setCo(Double co) {
        this.co = co;
    }

    public Double getSo2() {
        return so2;
    }

    public void setSo2(Double so2) {
        this.so2 = so2;
    }

    public Date getColltime() {
        return colltime;
    }

    public void setColltime(Date colltime) {
        this.colltime = colltime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imei", getImei())
            .append("ambientTemp", getAmbientTemp())
            .append("ambientHum", getAmbientHum())
            .append("ambientLight", getAmbientLight())
            .append("soilTemp", getSoilTemp())
            .append("soilHum", getSoilHum())
            .append("atmoPressure", getAtmoPressure())
            .append("windSpeed", getWindSpeed())
            .append("windDirection", getWindDirection())
            .append("snowRain", getSnowRain())
            .append("pm25", getPm25())
            .append("co2", getCo2())
            .append("co", getCo())
            .append("so2", getSo2())
            .append("colltime", getColltime())
            .toString();
    }
}
